Fix 'M-q' in 'makefile-mode'
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 14:04:52 +0000 (16:04 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Mar 2025 14:04:52 +0000 (16:04 +0200)
* lisp/progmodes/make-mode.el (makefile-mode-map): Bind 'M-q' to
'fill-paragraph', as 'prog-mode's default binding is not
appropriate for Makefile's syntax.  (Bug#76641)

lisp/progmodes/make-mode.el

index 37dc9a985061870fccbf18bd54ad2186dd6ac2bc..3996284dd21587591db226a28c0bb9922328f7b2 100644 (file)
@@ -574,6 +574,7 @@ The function must satisfy this calling convention:
   "C-c RET C-p" #'makefile-makepp-mode
   "M-p"         #'makefile-previous-dependency
   "M-n"         #'makefile-next-dependency
+  "M-q"         #'fill-paragraph
   "C-M-i"       #'completion-at-point)
 
 (when makefile-electric-keys